package com.example.demo.mapper;

import com.example.demo.entity.JobMsg;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JobMsgMapper {
    int add(JobMsg jobMsg);

    List<JobMsg> selectAllByCondition(@Param(value = "projectId") int projectId);

    JobMsg selectById(@Param(value = "id") int id);

    int updateJob(JobMsg jobMsg);

    void modifyState(JobMsg jobMsg);

    int deleteJobById(@Param(value = "id") int id);
}
